package me.zhengjie.minbearwcs.dao.outbound.inf;

import me.zhengjie.minbearwcs.entity.PO.wcs.outbound.record.OutboundTaskRecord;
import me.zhengjie.minbearwcs.entity.PO.wcs.outbound.stockUp.OutboundStockUpRecord;

import java.util.List;

public interface OutboundTaskRecordDao {

    boolean insert(OutboundTaskRecord outboundTaskRecord);

    OutboundTaskRecord selectByOutboundRecordId(String recordId);

    boolean updateDestinationInfoByRecordId(String recordId,Integer destinationFloorNum,String destinationStorage);

    boolean update(OutboundTaskRecord outboundTaskRecord);

    List<OutboundTaskRecord> selectSortPalletByPalletCode(String palletCode,Integer isSort);

    boolean deleteById(Integer id);

    OutboundTaskRecord selectByPalletAndDestinationStorage(String pallet, String destinationSmallStorage);

    List<OutboundTaskRecord> selectByOutboundOrderCode(String outobundOrderCode);
}
